<!DOCTYPE HTML>
<html>
    <head>
        <meta http-equiv=Content-Type content="text/html;charset=utf-8" />
        <title>{$shopname}</title>
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
        <meta name="format-detection" content="telephone=no">
        <link href="{$docroot}static/css/StyleSheet.css?v={$cssversion}" type="text/css" rel="stylesheet" />
        <script type="text/javascript" src="{$docroot}static/script/jquery-1.9.1.min.js"></script>
        <script type="text/javascript" src="{$docroot}static/script/main.js"></script>
    </head>
    <body style="padding-bottom: 75px;">

        <div>
            <div class="custom-title text-left">
                <h2 class="title1">
                    熹贝母婴·微信店                   
                </h2>
                <p class="sub_title">专注母婴行业7年</p>
            </div>
        </div>

        <img src="{$docroot}static/banner/{$topBanner.banner_image}" class="banner" />

        {include file="../global/search_box1.tpl"}


        {*        <div style="padding:10px;">
        <section class="navbox" id="home-nav">
        {section name=ci loop=$catList}<section onclick="location = '{$docroot}?/vProduct/view_list/cat={$catList[ci].cat_id}';"><a class="nav-round" style="background-image:url({$catList[ci].cat_image});"></a><span>{$catList[ci].cat_name}</span></section>{/section}
        </section>
        </div>*}
        {strip}
            <div id="home-nav-h">
                {section name=ci loop=$catList}
                    <div class="nav-btn hftcat{$catList[ci].cat_id}">
                        <a href="{$docroot}?/vProduct/view_list/cat={$catList[ci].cat_id}"><h3>{$catList[ci].cat_name}</h3></a>
                    </div>
                    {if $catList[ci].banner.banner_href}
                        <a href="{$catList[ci].banner.banner_href}">
                            <img src="{$docroot}static/banner/{$catList[ci].banner.banner_image}" class="banner" />
                        </a>
                    {/if}
                    <section class="fbox clearfix">
                        {foreach from=$catList[ci]['pd'] item=pd name=pdl}
                            <section class="productListWrap" onclick="location = '{$docroot}?/vProduct/view/id={$pd.product_id}&showwxpaytitle=1';">
                                <a class="productList clearfix" style="border:none;padding-bottom: 0" {if $smarty.foreach.pdl.index is odd by 3}style="padding-right:0;"{/if}>
                                    <div class="productIW" style="background-image: url('static/product_hpic/{$pd.catimg}');">
                                        <p class="psi">&yen; {$pd.sale_prices}</p>
                                    </div>
                                </a>
                            </section>
                        {/foreach}
                    </section>
                    <a href="{$docroot}?/vProduct/view_list/cat={$catList[ci].cat_id}" style="display: block;text-align: center;background: #eee;margin:10px;border-radius: 3px;line-height: 30px;color:#08c;font-size: 14px;">查看更多</a>
                {/section}
            </div>
        {/strip}

        <script type="text/javascript">
            WeixinJSBridgeReady(homeOnload);
        </script>
        {include file="../global/footer.tpl"}
    </body>
</html>